import 'package:bookshelf/generated/json/base/json_convert_content.dart';
import 'package:bookshelf/entity/classify_entity.dart';

ClassifyEntity $ClassifyEntityFromJson(Map<String, dynamic> json) {
	final ClassifyEntity classifyEntity = ClassifyEntity();
	final String? name = jsonConvert.convert<String>(json['name']);
	if (name != null) {
		classifyEntity.name = name;
	}
	final String? no = jsonConvert.convert<String>(json['no']);
	if (no != null) {
		classifyEntity.no = no;
	}
	return classifyEntity;
}

Map<String, dynamic> $ClassifyEntityToJson(ClassifyEntity entity) {
	final Map<String, dynamic> data = <String, dynamic>{};
	data['name'] = entity.name;
	data['no'] = entity.no;
	return data;
}